package com.xncoding.freemarker.model;

public class ColumnClass {
    private String propertyName; //对应java属性的名字
    private String columnName;  //数据库中的名字
    private String propertyNotes;  //中文含义
    private String type;        //字段类型
    private String remark;      //备注
    private String len;
    private Boolean isPrimary;  //字段是不是一个主键
    private Boolean sfNoll = false;  //是否必输
    private int excelRowNum;

    @Override
    public String toString() {
        return "ColumnClass{" +
                "propertyName='" + propertyName + '\'' +
                ", columnName='" + columnName + '\'' +
                ", type='" + type + '\'' +
                ", remark='" + remark + '\'' +
                ", isPrimary=" + isPrimary +
                '}';
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getPrimary() {
        return isPrimary;
    }

    public void setPrimary(Boolean primary) {
        isPrimary = primary;
    }

    public Boolean getSfNoll() {
        return sfNoll;
    }

    public void setSfNoll(Boolean sfNoll) {
        this.sfNoll = sfNoll;
    }

    public String getPropertyNotes() {
        return propertyNotes;
    }

    public void setPropertyNotes(String propertyNotes) {
        this.propertyNotes = propertyNotes;
    }

    public String getLen() {
        return len;
    }

    public void setLen(String len) {
        this.len = len;
    }

    public int getExcelRowNum() {
        return excelRowNum;
    }

    public void setExcelRowNum(int excelRowNum) {
        this.excelRowNum = excelRowNum;
    }
}


